x86/HVM: drop hvm_fetch_from_guest_linear()
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2018 09:02:37 +0000 (11:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2018 09:02:37 +0000 (11:02 +0200)
commitd9067986c93b14371056bd25507ac9606e86c962
tree2ab0827a3762a1024d97f7c2af3b86d1f0617b01
parent33daee93dcc52a53edb07bc902583957c2e1f853
x86/HVM: drop hvm_fetch_from_guest_linear()

It can easily be expressed through hvm_copy_from_guest_linear(), and in
two cases this even simplifies callers.

Suggested-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/hvm.c
xen/include/asm-x86/hvm/support.h